package app.mvp.base_mvp;
import android.view.View;
import android.widget.Button;
import android.widget.Toast;
import app.mvp.R;

/**
 * Created by 刘智强 on 2017/4/11.
 */

public class TestActivity extends BaseActivity<BaseMvpPresenter, BaseMvpModel> implements BaseView {

    private Button btn_getdata;


    @Override
    public int getLayoutId() {

        return R.layout.cachdata_activity;
    }

    @Override
    public void initView() {
//        btn_getdata= (Button) findViewById(R.id.btn_getdata);
    }

    @Override
    public void initClick(View v) {
//        switch (v.getId()){
//
//            case  R.id.btn_getdata:
//                showData();
//                break;
//
//            default:
//        }

    }

    @Override
    public void initListener() {
//        addOnClickListener(R.id.btn_getdata);

    }


    @Override
    public void init() {
//        addFragment(new TestFragment(),R.id.fl_fragment);


    }



    @Override
    public void showMessage(String msg) {

    }

    @Override
    public void updateUi() {

    }
}
